package 线程.day2.demo6;

public class B implements Runnable {
    public void run() {
        int i=0;
        while (i<100){
            System.out.println(Thread.currentThread().getName()+":"+i++);
            Thread.yield();
        }
    }
}
